package com.wudi.estate.bean.servicemode;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MailBox {//信箱管理
    @TableId(type = IdType.AUTO)
    private long id;//信箱编号
    private long pid;//信箱来源编号
    private String title;//信件标题
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;//创建时间
    private String content;//信件内容
    private boolean state;//活动状态 1为已读 0为未读
}
